/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package snake;

import java.io.Serializable;

/**
 *
 * @author Ferenczy Máté
 */
public class Test implements Serializable{
    private int x, y;       //a testrész aktulis helyzete
    
    public Test(int x, int y)
    {
        this.x=x;
        this.y=y;
    }
    
    public void mozg(int x, int y)
    {
        this.x=x;
        this.y=y;
    }
    
    public int getX()
    {
        return x;
    }
    
    public int getY()
    {
        return y;
    }
}
